import {
	$http
} from '@escook/request-miniprogram'
export default {
	calculate_amount(data) { //计算当前订单金额
		return $http.post('/order/supplier_applet/calculate_amount', data)
	},
	orderList(data) { //订单
		return $http.post('/order/supplier_applet/order/list', data)
	},
	unallocated(data) { //待调度订单
		return $http.get('/order/supplier_applet/order/list/unallocated', data)
	},
	driverList(data) { //选择司机
		return $http.get('/order/supplier_applet/order/fleet/driver/list', data)
	},
	queryAllFleet(data) { //选择车队
		return $http.get('/order/supplier_applet/queryAllFleet', data)
	},
	supplier_appletowner(data) { //选择货主
		return $http.get('/order/supplier_applet/order/owner', data)
	},
	supplier_appletprojec(data) { //选择项目
		return $http.get('/order/supplier_applet/order/project', data)
	},
	driverAdd(data) { //调度司机
		return $http.post('/order/supplier_applet/order/dispatch/driver/add', data)
	},
	orderdetail(data){
		return $http.get('/order/supplier_applet/order/list/detail', data)
	},
	carrierWaybillList(data) { //承运运单列表
		return $http.get('/order/supplier_applet/waybill/waybillList', data)
	},
	driverAll(data) { //承运运单列表  全部司机
		return $http.get('/order/supplier_applet/driver/driverDropDown', data)
	},
	carrierWaybillDetails(data) { //承运运单详情
		return $http.get('/order/supplier_applet/waybill/waybillDetail', data)
	},
	cargoDetails(data){//承运运单 获取货物明细
		return $http.get('/order/supplier_applet/cargoInformation', data)
	},
	informationNode(data){//运单信息异常列表
		return $http.get('/order/supplier_applet/waybill/informationNode', data)
	},
	
	
	
	
	
}
